package com.vichat.res.entity;


import javax.persistence.*;

/***************
 *author: autogen
 *version: 2018-09-20 18:01:41.798
 */
@Entity
@Table(name = "room_resource",catalog = "resdb")
public class RoomResource implements java.io.Serializable{

	private static final long serialVersionUID = 1L;
	


    public static final String TABLE = "room_resource";

    /** */
	public static final String ALIAS_REC_ID = "rec_id";
    /** */
	public static final String ALIAS_RES_ID = "res_id";
    /** */
	public static final String ALIAS_PARTY_ID = "party_id";
    /**频道 */
	public static final String ALIAS_RID = "rid";
    /**用户ID */
	public static final String ALIAS_UID = "uid";
    /** */
	public static final String ALIAS_USER_NAME = "user_name";
    /** */
	public static final String ALIAS_ORG_ID = "org_id";
    /** */
	public static final String ALIAS_ORG_CODE = "org_code";
    /**备注 */
	public static final String ALIAS_REMARK = "remark";
    /** */
	public static final String ALIAS_STATE = "state";
    /** */
	public static final String ALIAS_CREATE_TIME = "create_time";
	
	

 	@Id
@   GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "rec_id", unique = true, nullable = false)
    public java.lang.Long recId;
  
 	@Column(name = "res_id")
    public java.lang.Long resId;
  
 	@Column(name = "party_id")
    public java.lang.Long partyId;
  
 	@Column(name = "rid")
    public java.lang.Long rid;
  
 	@Column(name = "uid")
    public java.lang.Long uid;
  
 	@Column(name = "user_name")
    public java.lang.String userName;
  
 	@Column(name = "org_id")
    public java.lang.Long orgId;
  
 	@Column(name = "org_code")
    public java.lang.String orgCode;
  
 	@Column(name = "remark")
    public java.lang.String remark;
  
 	@Column(name = "state")
    public java.lang.Long state;
  
 	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "create_time")
    public java.util.Date createTime;
  





	public java.lang.Long getRecId() {
		return this.recId;
	}
	
	public void setRecId(java.lang.Long value) {
		this.recId = value;
	}

	public java.lang.Long getResId() {
		return this.resId;
	}
	
	public void setResId(java.lang.Long value) {
		this.resId = value;
	}

	public java.lang.Long getPartyId() {
		return this.partyId;
	}
	
	public void setPartyId(java.lang.Long value) {
		this.partyId = value;
	}

	public java.lang.Long getRid() {
		return this.rid;
	}
	
	public void setRid(java.lang.Long value) {
		this.rid = value;
	}

	public java.lang.Long getUid() {
		return this.uid;
	}
	
	public void setUid(java.lang.Long value) {
		this.uid = value;
	}

	public java.lang.String getUserName() {
		return this.userName;
	}
	
	public void setUserName(java.lang.String value) {
		this.userName = value;
	}

	public java.lang.Long getOrgId() {
		return this.orgId;
	}
	
	public void setOrgId(java.lang.Long value) {
		this.orgId = value;
	}

	public java.lang.String getOrgCode() {
		return this.orgCode;
	}
	
	public void setOrgCode(java.lang.String value) {
		this.orgCode = value;
	}

	public java.lang.String getRemark() {
		return this.remark;
	}
	
	public void setRemark(java.lang.String value) {
		this.remark = value;
	}

	public java.lang.Long getState() {
		return this.state;
	}
	
	public void setState(java.lang.Long value) {
		this.state = value;
	}

	public java.util.Date getCreateTime() {
		return this.createTime;
	}
	
	public void setCreateTime(java.util.Date value) {
		this.createTime = value;
	}


	
	public RoomResource() {
	}
	
	public RoomResource(boolean qryflag) {
	    if(qryflag){
	    		this.recId = null;
				this.resId = null;
				this.partyId = null;
				this.rid = null;
				this.uid = null;
				this.userName = null;
				this.orgId = null;
				this.orgCode = null;
				this.remark = null;
				this.state = null;
				this.createTime = null;
			    }
	}


	public RoomResource(
	    java.lang.Long inRecId,
	    java.lang.Long inResId,
	    java.lang.Long inPartyId,
	    java.lang.Long inRid,
	    java.lang.Long inUid,
	    java.lang.String inUserName,
	    java.lang.Long inOrgId,
	    java.lang.String inOrgCode,
	    java.lang.String inRemark,
	    java.lang.Long inState,
		java.util.Date inCreateTime
	 ) {
		super();
				this.recId = inRecId;
				this.resId = inResId;
				this.partyId = inPartyId;
				this.rid = inRid;
				this.uid = inUid;
				this.userName = inUserName;
				this.orgId = inOrgId;
				this.orgCode = inOrgCode;
				this.remark = inRemark;
				this.state = inState;
				this.createTime = inCreateTime;
			}





}

